﻿using Abp.Domain.Entities;
using System.ComponentModel.DataAnnotations.Schema;

namespace SOEI.Solution.DomainEntities.RegulatoryMange
{
    /// <summary>产权证信息实体
    /// </summary>
    [Table("YW_CQZXX")]
    public class PropertyCard : Entity<string>
    {
        /// <summary>产权证编号
        /// </summary>
        [Column("CQZBH")]
        public override string Id { get; set; }

        /// <summary>案件编号
        /// </summary>
        [Column("AJBH")]
        public string AJBH { get; set; }

        /// <summary>区域代码
        /// </summary>
        [Column("QYDM")]
        public string QYDM { get; set; }

        /// <summary>区域名称
        /// </summary>
        [Column("QMC")]
        public string QMC { get; set; }

        /// <summary>坐落编号
        /// </summary>
        [Column("ZLBH")]
        public string ZLBH { get; set; }

        /// <summary>坐落信息
        /// </summary>
        [NotMapped]
        public Located Located { get; set; }

    }
}
